﻿@{
    Layout = null;
}
<!--溯源查询记录列表-->
<script src="~/Scripts/MGJJS/TraceSource/PageOperation/TraceSourceSerch.js"></script>
<div class="mtlr15">
    <div class="row">
        <div class="col-lg-8 col-md-8 col-sm-8" style="padding:0">
        </div>
        <div class="col-lg-4 col-md-4 col-sm-4">
                <div class="input-group">
                    <input type="text" class="form-control" placeholder="请输入机构名称" id="search">
                    <span class="input-group-addon" onclick="" id="serbtn">
                        <span class="glyphicon glyphicon-search"></span>
                    </span>
                </div>
            </div>
    </div>
    <table class="table table-hover table-bordered" style="text-align:center">
        <thead>
            <tr>
                <th>溯源身份码</th>
                <th>查询方式</th>
                <th>查询者</th>
                <th>查询时间</th>
                <th>查询结果</th>
                <th>公司名称</th>
                <th>归属地</th>
            </tr>
        </thead>
        <tbody id="CodeLogListTable" style="display:none;" binding="{'pageId':'CodeLogPage','pageCallback':'$.MGJ.TraceSourceSerch.Ajax_PageLists','emptyHtml':ID_EmptyHtml}">
            <tr>
                <td binding="{'text':'Fw_SCode'}"></td>
                <td class="QueryType" binding="{'text':'QueryType'}"></td>
                <td binding="{'text':'QueryIp'}"></td>
                <td binding="{'text':'QueryTime','textHandle':'datetime'}"></td>
                <td class="Valid" binding="{'text':'Valid'}"></td>
                <td binding="{'text':'EnterpriseName'}"></td>
                <td binding="{'text':'QueryProvince'}"></td>
            </tr>
        </tbody>

    </table>
    <div id="CodeLogPage"></div>
</div>

<script>
    var ColspanNub = $(".table.table-hover.table-bordered").find("tr").children("td").length
    window.ID_EmptyHtml = '<tr><td colspan="' + ColspanNub + '"><p class="no-result">无符合条件的数据结果</p></td></tr>';

    $(function () {
        $.MGJ.TraceSourceSerch.Ajax_PageLists(1, "");
    })


</script>


